//引入axios封装
import request from '@/utils/request'
//获取群聊任务详细
export function getAddWechat(params) {
  return request({
    url: '/AddWechat/get/AddWechat',
    method: 'post',
    data:params
  })
}
//删除群聊任务
export function deleteAddWechat(id) {
  return request({
    url: `/AddWechat/delete/AddWechat/${id}`,
    method: 'post',
  })
}
//新增群聊任务
export function insertAddWechat(params) {
  return request({
    url: `/AddWechat/insert/AddWechat`,
    method: 'post',
    data:params
  })
}
//修改群聊任务
export function updateAddWechat(params) {
  return request({
    url: `/AddWechat/update/AddWechat`,
    method: 'post',
    data:params
  })
}
